const express = require('express')
const handler = require('./handler')
const router = express.Router()

router.get('/', (req, res) => {
  console.log('发送请求')
  res.json({
    msg: '请求成功',
    code: 200
  })
})

router.post('/uploadFile', handler.uploadFile)
//合并分片
router.post('/merge_chunk', handler.merge_chunk)

module.exports = router
